package com.dkm.dkmproject.domain;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * ҵ?????
 * </p>
 *
 * @author 周佳佳
 * @since 2020-05-12
 */
@TableName("business_tb")
public class BusinessTb extends Model<BusinessTb> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	@TableId(value="bu_id", type= IdType.AUTO)
	private Integer buId;
    /**
     * 业务人员id
     */
	@TableField("user_id")
	private Integer userId;
    /**
     * 订单主键
     */
	@TableField("or_id")
	private String orId;
    /**
     * 业务提成
     */
	@TableField("or_money")
	private String orMoney;
    /**
     * 拓展字段1 申请时间
     */
	private Date exp1;
    /**
     * 是否派人 1等待出来 2已经派人
     */
	private String exp2;
    /**
     * 拓展字段3
     */
	private String exp3;
    /**
     * 用户问题描述
     */
	@TableField("or_content")
	private String orContent;
    /**
     * 用户照片描述
     */
	@TableField("or_img")
	private String orImg;
    /**
     * 用户联系电话
     */
	@TableField("or_phone")
	private String orPhone;
    /**
     * 备注
     */
	@TableField("or_note")
	private String orNote;
    /**
     * 服务人名字
     */
	@TableField("or_fwname")
	private String orFwname;
    /**
     * 服务人电话
     */
	@TableField("or_fwphone")
	private String orFwphone;
	/**
	 * 经度
	 */
	@TableField("longitude")
	private String longitude;
	/**
	 * 纬度
	 */
	@TableField("latitude")
	private String latitude
			;
	private MultipartFile file1;

	/**
	 * 微信头像地址
	 */
	private String wecahtWechatimg;
	/**
	 * 微信名字地址
	 */
	private String wechatName;

	private String dataOne;

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getDataOne() {
		return dataOne;
	}

	public void setDataOne(String dataOne) {
		this.dataOne = dataOne;
	}

	public String getWecahtWechatimg() {
		return wecahtWechatimg;
	}

	public void setWecahtWechatimg(String wecahtWechatimg) {
		this.wecahtWechatimg = wecahtWechatimg;
	}

	public String getWechatName() {
		return wechatName;
	}

	public void setWechatName(String wechatName) {
		this.wechatName = wechatName;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public MultipartFile getFile1() {
		return file1;
	}

	public void setFile1(MultipartFile file1) {
		this.file1 = file1;
	}

	public Integer getBuId() {
		return buId;
	}

	public void setBuId(Integer buId) {
		this.buId = buId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getOrId() {
		return orId;
	}

	public void setOrId(String orId) {
		this.orId = orId;
	}

	public String getOrMoney() {
		return orMoney;
	}

	public void setOrMoney(String orMoney) {
		this.orMoney = orMoney;
	}

	public Date getExp1() {
		return exp1;
	}

	public void setExp1(Date exp1) {
		this.exp1 = exp1;
	}

	public String getExp2() {
		return exp2;
	}

	public void setExp2(String exp2) {
		this.exp2 = exp2;
	}

	public String getExp3() {
		return exp3;
	}

	public void setExp3(String exp3) {
		this.exp3 = exp3;
	}

	public String getOrContent() {
		return orContent;
	}

	public void setOrContent(String orContent) {
		this.orContent = orContent;
	}

	public String getOrImg() {
		return orImg;
	}

	public void setOrImg(String orImg) {
		this.orImg = orImg;
	}

	public String getOrPhone() {
		return orPhone;
	}

	public void setOrPhone(String orPhone) {
		this.orPhone = orPhone;
	}

	public String getOrNote() {
		return orNote;
	}

	public void setOrNote(String orNote) {
		this.orNote = orNote;
	}

	public String getOrFwname() {
		return orFwname;
	}

	public void setOrFwname(String orFwname) {
		this.orFwname = orFwname;
	}

	public String getOrFwphone() {
		return orFwphone;
	}

	public void setOrFwphone(String orFwphone) {
		this.orFwphone = orFwphone;
	}

	@Override
	protected Serializable pkVal() {
		return this.buId;
	}

	@Override
	public String toString() {
		return "BusinessTb{" +
			"buId=" + buId +
			", userId=" + userId +
			", orId=" + orId +
			", orMoney=" + orMoney +
			", exp1=" + exp1 +
			", exp2=" + exp2 +
			", exp3=" + exp3 +
			", orContent=" + orContent +
			", orImg=" + orImg +
			", orPhone=" + orPhone +
			", orNote=" + orNote +
			", orFwname=" + orFwname +
			", orFwphone=" + orFwphone +
			"}";
	}
}
